import { Tag } from 'antd';
//商铺状态显示
export const storeStatusFilter=(num)=>{
    if(num==1){
        return  <Tag color="cyan">启用</Tag>
    }else if(num==0){
        return <Tag color="red">禁用</Tag>
    }else{
        return num
    }
}
//商铺类型显示
export const storeTypeFilter=(num)=>{
    if(num==1){
        return  <Tag color="cyan">商铺</Tag>
    }else if(num==0){
        return <Tag color="geekblue">充电站</Tag>
    }else{
        return num
    }
}